import { DefaultFooter } from '@ant-design/pro-components';

const Footer: React.FC = () => {
  const defaultMessage = '重庆广大融媒科技有限公司';

  const currentYear = new Date().getFullYear();

  return (
    <DefaultFooter
      copyright={`${currentYear} ${defaultMessage}`}
      links={[
        {
          key: '备案号：渝ICP备2021004499号-4',
          title: '备案号：渝ICP备2021004499号-4',
          href: 'https://beian.miit.gov.cn/#/Integrated/index',
          blankTarget: true,
        },
      ]}
    />
  );
};

export default Footer;
